package com.wyh.edu.dao;

import com.wyh.edu.pojo.Token;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author wuyuhan
 * @date 2021/2/4 23:35
 */
@Repository
public interface TokenDao extends JpaRepository<Token,Integer> {
    Token findFirstByToken(String token);
}
